package com.hopu.mapper;

import com.hopu.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IDeptMapper {

    //    查询所有
    public List<Dept> findAll() throws Exception;
    // 通过id查询
    public Dept findById(@Param("did") Integer did) throws Exception;

}
